package com.ruoyi.pingjiao.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程毕业要求对象 course_requirement
 * 
 * @author ruoyi
 * @date 2025-02-08
 */
public class CourseRequirement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 要求编号 */
    private Long requirementId;

    /** 课程编号 */
    private Long courseId;

    /** 课程对毕业要求的支持系数 */
    @Excel(name = "课程对毕业要求的支持系数")
    private Float coefficient;

    public void setRequirementId(Long requirementId) 
    {
        this.requirementId = requirementId;
    }

    public Long getRequirementId() 
    {
        return requirementId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setCoefficient(Float coefficient)
    {
        this.coefficient = coefficient;
    }

    public Float getCoefficient()
    {
        return coefficient;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("requirementId", getRequirementId())
            .append("courseId", getCourseId())
            .append("coefficient", getCoefficient())
            .toString();
    }
}
